package com.hualan.sfzy.mapper;

import com.hualan.sfzy.entity.Cspi;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 13302
* @description 针对表【cspi】的数据库操作Mapper
* @createDate 2025-07-21 11:53:06
* @Entity com.hualan.sfzy.entity.Cspi
*/
@Mapper
public interface CspiMapper extends BaseMapper<Cspi>{
    @Override
    int insert(Cspi entity);

    @Override
    int update(Cspi entity);

    @Override
    int delete(Integer id);

    @Override
    int deleteBatch(Integer[] ids);

    @Override
    List<Cspi> select(Cspi entity);

    List<Cspi> selectCspiAndCounselor(Cspi entity);

    List<Cspi> selectCspiAndCounselorAll();

    @Override
    Cspi selectById(Integer id);
}
